<div ng-if="pagedata.showjifen2" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showjifen2=false"></i>
			<div class="fui-tab fui-tab-danger" style="top:1.5rem;margin-top:0">
					<a ng-class="{'external active':pagedata.params.isadd == 0}" ng-click="pagedata.params.isadd = 0;tool.get_list('jy_yangjidan/jifen2/list/',true)">消耗记录</a>
					<a ng-class="{'external active':pagedata.params.isadd == 1}" ng-click="pagedata.params.isadd = 1;tool.get_list('jy_yangjidan/jifen2/list/',true)">获取记录</a>
			</div>
			<div class="fui-list-group" style="margin-top:2rem;padding:0.5rem;height:20rem;overflow-y:scroll">
				<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
					<div class="fui-list-inner">
						<div class='title'>
							<span ng-show="item.is_add==1" class="label label-success">{{item.is_addtitle}}</span>
							<span ng-show="item.is_add!=1" class="label label-danger">{{item.is_addtitle}}</span>
							<span class="red" style="margin-left:0.3rem">{{item.fee}}</span>
							<span class="gray" style="font-size:0.6rem;"> {{item.type==2?'元':'个'+item.typetitle}}</span>
						</div>
						<div class='gray'>{{item.createtime}}</div>
					</div>
					<div class='fui-list-angle'>
						<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{item.remark}}</span>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script>
	if(scope.pagedata.showjifen2){
		scope.pagedata.params.isadd=0
		scope.pagedata.loading=true;
		scope.tool.get_list('jy_yangjidan/jifen2/list/',true);
		scope.pagedata.scroll_bottom=function(){
			scope.tool.get_list('jy_yangjidan/jifen2/list/');
		}
	}
	</script>
</div>